<div class="wrap">
	<?php screen_icon('options-general');?>
	<h2>Portfolio Settings</h2>
    <?php if (isset ($_POST['cdia_port_save'] ) && empty ( $errors ) ) : ?>
    <div id="message" class="updated"><p>Portfolio Settings Updated.</p></div>
    <?php elseif ( $errors ): ?>
    <div id="message" class="error"><?php echo $errors; ?></div>
    <?php endif; ?>
    <form action="" method="post">
    	<?php wp_nonce_field( 'update-portfolio-settings' ); ?>
  		<table class="form-table">
        	<tr>
            	<th><label for="cdia_port_email" >Contact Email</label></th>
                <td><input id="cdia_port_email" type="text" name="cdia_port_email" size="25" value="<?php echo $portfolio_settings['email']; ?>" /></td>
            </tr>
            <tr>
            	<th><label for="cdia_port_summary">Portfolio Summary</label></th>
                <td><textarea id="cdia_port_summary" name="cdia_port_summary"><?php echo $portfolio_settings['summary']; ?></textarea></td>
            </tr>
        </table>
        <input class="button-primary" type="submit" name="cdia_port_save" value="Update Portfolio Settings" />
    </form>
</div>